/**
 * @ClassName:
 * @author:
 * @Description:
 * @Date
 **/
public class Main {
    public static void main(String[] args) {
        Array array = new Array(10);
        for (int i = 0; i < array.getCapacity(); i++) {
            array.add(i, i);
        }
        System.out.println(array.toString());
        array.remove(2);
        System.out.println(array.toString());
    }
}
